var addon = require('../build/Release/addon')
var env = require('./env')

var mapName = env.file_mapping_name;
var bufSize = env.image_width*env.image_height;
var fileMap = new addon.FileMap();

var buf = fileMap.open(mapName,bufSize,0);
if(buf)
{
   console.log(`buf size=${buf.length}`);
}